﻿//-----------------------------------------------------------------------
// <copyright file="IRepository.cs" company="SLWY Enterprises">
// * Copyright (C) 2017 四川商旅无忧科技有限公司 版权所有。
// * version : 1.0
// * author  : qinchaoyue
// * FileName: IRepository.cs
// * history : created by qinchaoyue 2017-10-16 03:40:10
// </copyright>
//-----------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Text;

namespace Slwy.Core.Data
{
    public interface IRepository<T> where T : class
    {
        int Insert(T entity);

        int Update(T entity);

        int Recycle(T entity);
    }
}
